package com.lmy.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {

    /**
     * 这里模拟请求的路径和静态资源的名字冲突
     * @return
     */
    @RequestMapping("/7.png")
    public String hi() {
        return "hi";
    }

    @RequestMapping(value = "/hi2")
    public String hi2() {
        return "hi2";
    }
}
